<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Shopping Cart - Wholesale Electronics from </title>
<link href="../Public/css/cart_2.css" rel="stylesheet" type="text/css">
<link href="../Public/css/index_base.css" rel="stylesheet" type="text/css">
<link href="../Public/css/validatebox.css" media="screen" type="text/css" rel="stylesheet">
<link href="../Public/css/linkbutton.css" media="screen" type="text/css" rel="stylesheet">
<link href="../Public/css/panel.css" media="screen" type="text/css" rel="stylesheet">
<link href="../Public/css/window.css" media="screen" type="text/css" rel="stylesheet">
<link href="../Public/css/messager.css" media="screen" type="text/css" rel="stylesheet">
<load href="./Public/Js/jquery.min.js"/>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<body>
<div id="page_1">
    <form method="post" action="" name="form1" id="form1">
    <!-- START HEADER -->
    <div class="top_cart">
        <div class="logo">
<a href="http://{$domain}" >
                    <img src="http://www.{$domain}/images/logo.gif" width="221" height="40"></a>

        </div>
        

  <div class="toprg"><p>信頼できるサイト「安心な1年間保証付、1ケ月以内までの返金対応」、ご安心購入!<br />
売れ筋商品!!ぞくぞくと毎月多数入荷、びっくり価格で販売中！！</p>
 <img src="../Public/images/top.gif" /></div>
 <div class="line"></div>
<div class="topte">
                <a href="http://www.{$domain}">Home</a> >>  <a href="javascript:;" onclick="window.close();">
                    Continue Shopping</a></div>

  </div>

    
    
    
    <div class="clear" style="margin-top:8px;">
    </div>
    <div class="clear">
    </div>
    <!-- END IF USER IS LOGIN -->
    <!-- START PRODUCT LIST -->
    <div class="content_column">
        <div class="title">
          <ul>
                <li class="frist">商品コード</li>
                <li class="second">価格</li>
                <li class="third">数量</li>
                <li class="fourth">品名</li>
                <li class="fifth">小計</li>
                <li class="sixth">アクション</li>
          </ul>
		   <span class="column_title_left"><img src="../Public/images/column_title_left_1.jpg" width="52" height="38" /></span><span class="column_title_right"></span>      </div>
        <div class="column_content">
            <div id="cartlist">
                <span id="lblTableCart">
				<table id="TableCart" style="margin-left: 10px; padding-top:5px;" border="0" cellspacing="0">
				<tbody>
<volist name="a" id="cart">
		<tr class="column_list">
		<td class="one"></td>
		<td class="two"><b>{$cart.productcode}</b></td>
		<td class="three">{$currency} {$cart.price|number_format=###,0}</td>
		<td class="four" style="vertical-align:middle;">
		<input type="hidden" name="domain" id="domain" value="{@a.domain}" />
		<input type="hidden" name="currency_code" id="currency_code" value="{$currency_code}" />
		<input id="num{$cart.productcode}" name="n_{$cart.productcode}"  type="text" size="5" value="{$cart.num}" onChange="ChangeTotal(this);" maxlength="5" />
		<a href="#"><img src="../Public/images/update.jpg" alt="Neu berechnen" style="margin-bottom:3px;" border="0" /></a>
		 </td>
		<td class="five"><p>{$cart.pbody}</p></td>
		<td class="six">{$currency} <span id="allprice{$cart.pid}">{$cart.n_price|number_format=###,0}</span></td>
		<td class="seven color2"><a href="?a=delid&pidmo={$cart.productcode}&domain={@a.domain}&currency_code={$currency_code}"><img src="../Public/images/delete.jpg" /></a></td>
		</tr>
</volist>
				</tbody>
				</table>
				</span>
            </div>
            <div class="table_bottom" id="Shipping_div" style="">
                <div><span class="bottom_two">
                    <b> <a href="javascript:;" onclick="window.close();"><img src="../Public/images/Continue_jp.jpg" width="132" height="22" /></a></b>

                    </span>
                    <span class="bottom_three">
                        <span id="Literal1" class="aspNetDisabled"><font color="#000">小計:</font>{$currency} {$a_price|number_format=###,0}</span>                    </span></div>
            </div>
           
    </div>
    <!-- END PRODUCT LIST -->
    <!-- START TRANSPORTATION -->
    <div class="ship_ifo">
        <div class="clear">
        </div>
        <img src="../Public/images/shopping_cart2.jpg" alt="" class="img_left">
        <div class="ship_ifo_left">
            
            <p class="left_p1">
                <label>輸送のモード:</label>
                <select id="ListBoxShipping" size="4" onchange="shipping(this.value)">
				<option selected="selected" value="普通郵便配送 3~5 営業日,{@a.logisticsprice1}">普通郵便配送({$currency}{@a.logisticsprice1})</option>
				<option value="UPS/EMS Express,{@a.logisticsprice2}">急送便({$currency}{@a.logisticsprice2})</option>
				</select>
            </p>
            <p class="left_p5" id="AirMail_P"><div> 	<li>注文しだの商品は午後５時前なれば、当日に発送します。</li>
	</div></p>
            <div class="left_p6" style="display: none">
                <input id="ckpcode" type="checkbox"><label for="ckpcode">Use Coupon</label>
                <div id="pCoupon" style="display: none; height: auto;">
                    <div>
                        <input class="text_t" id="txtCoupon" onclick="this.value=''" type="text">
                        <input value="" class="text_i" onclick="javascript:couponOrder()" type="button"></div>
                </div>
                <div style="padding-left: 0px; height: auto; line-height: 16px;">
                    <table cellpadding="0" cellspacing="0">
                        <tbody><tr>
                            <td style="width: 20px; vertical-align: top;">
                                <input id="cbDropShipping" type="checkbox">
                            </td>
                            <td style="font-size: 11px;">
                                <label for="cbDropShipping">
                                    Drop Shipping(Removes PickEgg logo from package. You can edit order shipping address
                                    on the page of order successful payment.)</label>
                            </td>
                        </tr>
                    </tbody></table>
                </div>
                <p style="display: none">
                </p>
            </div>
            <!-- yhc -->
            <span id="spcoupon"></span>
</div>
         <div class="ship_ifo_right">
            <br style="display: none" id="btu">
            <div class="prouct_sub">
                <p>
                    <label>
                        送料:</label>
                    <span id="LiteralShippingSubtotal">{$currency} {$a_prices-$a_price|number_format=###,0}</span>
                </p>
                <p>
                    <label>
                        商品:</label>
                    <span id="LiteralProductSubtotal">{$currency} {$a_price|number_format=###,0}</span>
                </p>
              
            </div>
            <div class="clear">
            </div>
            <div class="ship_total Currencies" id="ship_total">
                合計金額（税込）:
                <span id="LiteralGrandTotal"><span class="font_16 underline">{$currency}</span> <span class="font_16" id="total_js">{$a_prices|number_format=###,0}</span></span>
                <div class="Currencies_list divmove" style="display: none" id="div_Currencies_list">
                    <p id="USD">USD</p>
                    <p id="EUR">EUR</p>
                    <p id="GBP">GBP</p>
                    <p id="AUD">AUD</p>
                    <p id="CAD">CAD</p>
                </div>
            </div>
            
            <div class="clear">
		<input type="hidden" name="mo_b" id="mo_b" value="{$a_price|number_format=###,0}" />
			<input type="hidden" name="mo_bb" id="mo_bb" value="{$a_price|number_format=###,0}" />
			<input type="hidden" name="proallnum" id="proallnum" value="{$proallnum}" />
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    <!-- END TRANSPORTATION -->

    <div class="clear">
	
    </div>
    <!-- START CHOOSE PAY -->
    <!-- END CHOOSE PAY -->
    <div class="clear">
    </div>
    <!-- START FOOTER -->
    <!-- END FOOTER -->
    
 <script type="text/javascript">

 function ChangeTotal(num)
 {	var a=parseInt($(num).val());
 	if(!isNaN(a))
 	{
 		if(a<1)
 		{
 			$(num).val(1);
 		}else
 		{
 			$(num).val(a);
 		}
 	}else{
 		$(num).val(1);
 	}
 	$("#form1").submit(); 
 }

 function shipping(val){
 str=val.split(",");
 $('#transportation').val(str[0]);
 $('#logisticsprice').val(str[1]);
 shipping2=parseFloat(str[1])*$('#proallnum').val();
 $('#LiteralShippingSubtotal').html('{$currency} '+shipping2.toFixed(0));
 mo_bb=$('#mo_bb').val();
 reg=/,/gi;
 mo_bb=mo_bb.replace(reg,'');
 str[1]=parseFloat(mo_bb)+parseFloat(str[1])*$('#proallnum').val();
 str[1]=str[1].toFixed(0);
 str[1]=CommaFormatted(str[1]);
 //$('#LiteralProductSubtotal').html('{$currency} '+str[1]);
 $('#mo_b').val(str[1]);
 $('#total_js').html($('#mo_b').val());
 }

 function CommaFormatted(amount) {
     var delimiter = ",";
     amount = new String(amount);
     var a = amount.split('.',2)
     var d = a[1];
     var i = parseInt(a[0]);

     if(isNaN(i)) { return ''; }
     var minus = '';
     if(i < 0) { minus = '-'; }
     i = Math.abs(i);
     var n = new String(i);
     var a = [];
     
     while(n.length > 3)
     {
         var nn = n.substr(n.length-3);
         a.unshift(nn);
         n = n.substr(0,n.length-3);
     }
     if(n.length > 0) { a.unshift(n); }
     n = a.join(delimiter);
     //if(d.length < 1) { amount = n; }
     //else { amount = n + '.' + d; }
     amount = n;
     amount = minus + amount;
     return amount;
 }



</script>
<style>
a.totalprice{text-decoration:none;color:#e56621;cursor:text;}

</style>
</div>

 </form>
 </div>

 
 <div>
    <div class="choose_pay">
        
       
     <form method="post" action="?m=Index&a=sendorder" id="form11" onsubmit="return userinfo()">
    <!-- START HEADER -->
    

    <div class="content_column">
	<p class="title">
             <img src="../Public/images/nb_3.jpg" width="52" height="38" />重要！我々は以下の住所に注文を派遣する。あなたの配達先住所をご確認ください. </p>
  <div class="pay_content" id="div1">
    <div class="ship_ifo2">
        <table width="90%" bgcolor="#CBCBCB" align="center" cellspacing="1">
                          <tbody bgcolor="#FFFFFF">
                          
                          <tr align="center">
                        <td align="left" class="backcolor1">法人名・団体名</td>
                        <td align="left" class="backcolor2">
                        <input type="text" style="width:250px" name="client_companyship" maxlength="255" size="30" />
                          &nbsp;
                          <div style="font-size: 90%">例）株式会社　山田商事</div></td>
                      	</tr>
                        
                                        
                                          <tr align="center">
                        <td align="left" class="backcolor1">                           法人名・団体名(かな)                           </td>
                        <td align="left" class="backcolor2"><input type="text" style="width:250px" name="client_companyship2" maxlength="255" />
                          &nbsp;
                          <div style="font-size: 90%">例）かぶしきがいしゃ　やまだしょうじ</div></td>
                      </tr>
                                        
                    
                                          <tr align="center">
                        <td align="left" class="backcolor1">                           部署名                           </td>
                        <td align="left" class="backcolor2"><input type="text" style="width:250px" name="DIVISION" maxlength="255" />
                          &nbsp;
                          <div style="font-size: 90%">例）営業部</div></td>
                      </tr>
                                        
                                          <tr align="center">
                        <td align="left" class="backcolor1">                           お名前

                          &nbsp;<span style="color: #FF0000; font-size: 80%;">必須</span> </td>
                        <td align="left" class="backcolor2">姓：
                          <input type="text" name="first_name" id="yjfirst_name" maxlength="128" size="20" /><font 
                              color=#ff0000><span id="first_nameshow"></span>*</font>
                          　名：
                          <input type="text" name="last_name" id="yjlast_name" maxlength="128" size="20" /><font 
                              color=#ff0000><span id="last_nameshow"></span>*</font>
                          &nbsp;
                          <div style="font-size: 90%">例）山田　太郎</div></td>
                      </tr>
                                        
                                       
                       <tr align="center">
                        <td align="left" class="backcolor1">                           郵便番号
                          &nbsp;<span style="color: #FF0000; font-size: 80%;">必須</span> </td>
                        <td align="left" class="backcolor2">〒
                              <input type="text"  size="3" name="zip" id="yjzip"/> -
                            <input type="text"  size="4" name="zip2" id="yjzip2"/><font 
                              color=#ff0000><span id="zipshow"></span></font><font 
                              color=#ff0000><span id="zip2show"></span>*</font>

                          <div style="font-size: 90%">例）100-0000</div></td>
                      </tr>
                                        
                                          <!-- ご住所 //-->
                      <tr align="center">
                        <td align="left" class="backcolor1">                           都道府県
                          &nbsp;<span style="color: #FF0000; font-size: 80%;">必須</span> </td>
                        <td align="left" class="backcolor2"><select id="state" name="state">
<option value=""></option>
<option value="北海道">北海道</option>
<option value="青森県">青森県</option>
<option value="岩手県">岩手県</option>
<option value="宮城県">宮城県</option>
<option value="秋田県">秋田県</option>
<option value="山形県">山形県</option>
<option value="福島県">福島県</option>
<option value="茨城県">茨城県</option>
<option value="栃木県">栃木県</option>
<option value="群馬県">群馬県</option>
<option value="埼玉県">埼玉県</option>
<option value="千葉県">千葉県</option>
<option value="東京都">東京都</option>
<option value="神奈川県">神奈川県</option>
<option value="新潟県">新潟県</option>
<option value="富山県">富山県 </option>
<option value="石川県">石川県</option>
<option value="福井県">福井県 </option>
<option value="山梨県">山梨県 </option>
<option value="長野県">長野県</option>
<option value="岐阜県">岐阜県</option>
<option value="静岡県">静岡県</option>
<option value="愛知県">愛知県</option>
<option value="三重県">三重県</option>
<option value="滋賀県">滋賀県</option>
<option value="京都府">京都府</option>
<option value="大阪府">大阪府</option>
<option value="兵庫県">兵庫県</option>
<option value="奈良県">奈良県</option>
<option value="和歌山県">和歌山県</option>
<option value="鳥取県">鳥取県</option>
<option value="島根県">島根県</option>
<option value="岡山県">岡山県</option>
<option value="広島県">広島県</option>
<option value="山口県">山口県</option>
<option value="徳島県">徳島県</option>
<option value="香川県">香川県</option>
<option value="愛媛県">愛媛県</option>
<option value="高知県">高知県</option>
<option value="福岡県">福岡県</option>
<option value="佐賀県">佐賀県</option>
<option value="長崎県">長崎県</option>
<option value="熊本県">熊本県</option>
<option value="大分県">大分県</option>
<option value="宮崎県">宮崎県</option>
<option value="鹿児島県">鹿児島県</option>
<option value="沖縄県">沖縄県</option>
</select><FONT 
                              color=#ff0000><span id="stateshow"></span>*</FONT></td>
                      </tr>
                      <tr align="center">
                        <td align="left" class="backcolor1">                           市区町村

                          &nbsp;<span style="color: #FF0000; font-size: 80%;">必須</span> </td>
                        <TD align="left" bgColor=#ffffff height=28><input type="text" name="city" id="yjcity"/>&nbsp;&nbsp;<FONT 
                              color=#ff0000><span id="cityshow"></span>*</FONT><div style="font-size: 90%">例）新宿区</div></TD>
                          
                      </tr>
                      
                      <tr align="center">
                        <td align="left" class="backcolor1">                          番地
                        <span style="color: #FF0000; font-size: 80%;">必須</span></td>
                        <TD align="left" bgColor=#ffffff height=28><input type="text" name="address1" id="yjaddress1" size="60" />
                            <FONT 
                              color=#ff0000><span id="address1show"></span>*</FONT><div style="font-size: 90%">例）西新宿マンション204</div></TD>
                          
                      </tr>
                                       <tr align="center">
                        <td align="left" class="backcolor1">                          建物名・階・部屋番号(オプション)</td>
                        <td align="left" class="backcolor2"><input type="text" style="width:250px " name="address2" maxlength="255" />
                          &nbsp;
                          <div style="font-size: 90%"></div></td>
                      </tr>                
                                          <tr align="center">
                        <td align="left" class="backcolor1">                           お電話番号
                          &nbsp;</td>
                        <td align="left" height=28><input size=5 type="text" name="night_phone_a" id="yjnight_phone_a"/>
                             <input size=6 type="text" name="night_phone_b" id="yjnight_phone_b"/> 
                             <input size=6 type="text" name="night_phone_c" id="yjnight_phone_c"/>&nbsp;&nbsp;
                             <FONT color=#ff0000>
                             <span id="night_phone_ashow"></span>
                             <span id="night_phone_bshow"></span>
                             <span id="night_phone_cshow"></span>
                             </FONT><div style="font-size: 90%">例）03-0000-0000</div>
                          </td>
                      </tr>
                                        
                                          <tr align="center">                      </tr>
                                       
                    <tr align="center">
                      <td align="left" class="backcolor1">                         メールアドレス
                        &nbsp;<span style="color: #FF0000; font-size: 80%;">必須</span> </td>
                      <td align="left" class="backcolor2"><span style="font-size: 90%">※注文確認メールを確実にお届けするため、メールアドレスを正確にご記入ください。</span><br/>
                        <input type="text" style="width:250px " name="email" id="yzemail" maxlength="128" /><font 
                              color=#ff0000><span id="emailshow"></span>* </font></td>
                    </tr>
					<tr>
                            <td width="248" align="left"><STRONG>あなたのメッセージ:</STRONG></td>
                            <td width="718" height=28><TEXTAREA rows=5 cols=60 name=client_remark></TEXTAREA><br/></td>
                            </TR>
                                        <!-- 会員住所保存　ここから //-->
                                      </TBODY></TABLE>
            <input type="hidden" name="country" id="recountry" value="" />
			<input type="hidden" name="tracking" id="tracking" value="1" />
			<input type="hidden" name="destination" id="destination" value="Afghanistan" />
			<input type="hidden" name="transportation" id="transportation" value="Air Mail" />
			<input type="hidden" name="logisticsprice" id="logisticsprice" value="{@a.logisticsprice1}" />
			<input type="hidden" name="domain" id="domain" value="{@a.domain}" />
			<input type="hidden" name="currency_code" id="currency_code" value="{$currency_code}" />
			
			
    </div>
</div>




<div class="ship_ifo1"><input type="image" src="../Public/images/next_jp.jpg" align="center"/> </div>

</div>

 
 
</form></div></div>
<div class="foot_cart">
 <img src="../Public/images/verisign.gif" align="left"  />
            <p>
              当サイトはSSL暗号化通信に対応しております。ご注文内容やクレジットカード番号など、お客様の大切な情報は暗号化して送信されます。第三者から解読できないようになっておりますので、安心してお買い物をお楽しみください。</p>
    </div>

 <script type="text/javascript"><!--
 function showBilling(){
	    var bln_check = $('#isSame').attr('checked');
	    if(bln_check){
	        $('#div2').show();
	    }else{     
	        $('#div2').hide();   
	    }
	}

 function updatecountry(){
	 	
		document.getElementById('recountry').value=document.getElementById("country").value;
	}


 

	
--></script>
 </body></html>   <?php 
 $_SESSION['thanks']['jumpUrl']='http://www.pcakkus.com'; //支付完成跳转的页面
  $_SESSION['thanks']['success']='payment success'; //支付成功提示
   $_SESSION['thanks']['error']='payment fail'; //支付失败提示
 ?>